package com.bjfu.demo.entity;

import java.util.ArrayList;
import java.util.List;

public class SiteDataExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SiteDataExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSitecodeIsNull() {
            addCriterion("SITECODE is null");
            return (Criteria) this;
        }

        public Criteria andSitecodeIsNotNull() {
            addCriterion("SITECODE is not null");
            return (Criteria) this;
        }

        public Criteria andSitecodeEqualTo(String value) {
            addCriterion("SITECODE =", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeNotEqualTo(String value) {
            addCriterion("SITECODE <>", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeGreaterThan(String value) {
            addCriterion("SITECODE >", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeGreaterThanOrEqualTo(String value) {
            addCriterion("SITECODE >=", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeLessThan(String value) {
            addCriterion("SITECODE <", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeLessThanOrEqualTo(String value) {
            addCriterion("SITECODE <=", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeLike(String value) {
            addCriterion("SITECODE like", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeNotLike(String value) {
            addCriterion("SITECODE not like", value, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeIn(List<String> values) {
            addCriterion("SITECODE in", values, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeNotIn(List<String> values) {
            addCriterion("SITECODE not in", values, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeBetween(String value1, String value2) {
            addCriterion("SITECODE between", value1, value2, "sitecode");
            return (Criteria) this;
        }

        public Criteria andSitecodeNotBetween(String value1, String value2) {
            addCriterion("SITECODE not between", value1, value2, "sitecode");
            return (Criteria) this;
        }

        public Criteria andDistrictIsNull() {
            addCriterion("DISTRICT is null");
            return (Criteria) this;
        }

        public Criteria andDistrictIsNotNull() {
            addCriterion("DISTRICT is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictEqualTo(String value) {
            addCriterion("DISTRICT =", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotEqualTo(String value) {
            addCriterion("DISTRICT <>", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictGreaterThan(String value) {
            addCriterion("DISTRICT >", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictGreaterThanOrEqualTo(String value) {
            addCriterion("DISTRICT >=", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLessThan(String value) {
            addCriterion("DISTRICT <", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLessThanOrEqualTo(String value) {
            addCriterion("DISTRICT <=", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLike(String value) {
            addCriterion("DISTRICT like", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotLike(String value) {
            addCriterion("DISTRICT not like", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictIn(List<String> values) {
            addCriterion("DISTRICT in", values, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotIn(List<String> values) {
            addCriterion("DISTRICT not in", values, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictBetween(String value1, String value2) {
            addCriterion("DISTRICT between", value1, value2, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotBetween(String value1, String value2) {
            addCriterion("DISTRICT not between", value1, value2, "district");
            return (Criteria) this;
        }

        public Criteria andIsreleaseIsNull() {
            addCriterion("ISRELEASE is null");
            return (Criteria) this;
        }

        public Criteria andIsreleaseIsNotNull() {
            addCriterion("ISRELEASE is not null");
            return (Criteria) this;
        }

        public Criteria andIsreleaseEqualTo(String value) {
            addCriterion("ISRELEASE =", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseNotEqualTo(String value) {
            addCriterion("ISRELEASE <>", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseGreaterThan(String value) {
            addCriterion("ISRELEASE >", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseGreaterThanOrEqualTo(String value) {
            addCriterion("ISRELEASE >=", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseLessThan(String value) {
            addCriterion("ISRELEASE <", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseLessThanOrEqualTo(String value) {
            addCriterion("ISRELEASE <=", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseLike(String value) {
            addCriterion("ISRELEASE like", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseNotLike(String value) {
            addCriterion("ISRELEASE not like", value, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseIn(List<String> values) {
            addCriterion("ISRELEASE in", values, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseNotIn(List<String> values) {
            addCriterion("ISRELEASE not in", values, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseBetween(String value1, String value2) {
            addCriterion("ISRELEASE between", value1, value2, "isrelease");
            return (Criteria) this;
        }

        public Criteria andIsreleaseNotBetween(String value1, String value2) {
            addCriterion("ISRELEASE not between", value1, value2, "isrelease");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("LATITUDE is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("LATITUDE is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(String value) {
            addCriterion("LATITUDE =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(String value) {
            addCriterion("LATITUDE <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(String value) {
            addCriterion("LATITUDE >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("LATITUDE >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(String value) {
            addCriterion("LATITUDE <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(String value) {
            addCriterion("LATITUDE <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLike(String value) {
            addCriterion("LATITUDE like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotLike(String value) {
            addCriterion("LATITUDE not like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<String> values) {
            addCriterion("LATITUDE in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<String> values) {
            addCriterion("LATITUDE not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(String value1, String value2) {
            addCriterion("LATITUDE between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(String value1, String value2) {
            addCriterion("LATITUDE not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("LONGITUDE is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("LONGITUDE is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(String value) {
            addCriterion("LONGITUDE =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(String value) {
            addCriterion("LONGITUDE <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(String value) {
            addCriterion("LONGITUDE >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("LONGITUDE >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(String value) {
            addCriterion("LONGITUDE <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(String value) {
            addCriterion("LONGITUDE <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLike(String value) {
            addCriterion("LONGITUDE like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotLike(String value) {
            addCriterion("LONGITUDE not like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<String> values) {
            addCriterion("LONGITUDE in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<String> values) {
            addCriterion("LONGITUDE not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(String value1, String value2) {
            addCriterion("LONGITUDE between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(String value1, String value2) {
            addCriterion("LONGITUDE not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andSitearrIsNull() {
            addCriterion("SITEARR is null");
            return (Criteria) this;
        }

        public Criteria andSitearrIsNotNull() {
            addCriterion("SITEARR is not null");
            return (Criteria) this;
        }

        public Criteria andSitearrEqualTo(String value) {
            addCriterion("SITEARR =", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrNotEqualTo(String value) {
            addCriterion("SITEARR <>", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrGreaterThan(String value) {
            addCriterion("SITEARR >", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrGreaterThanOrEqualTo(String value) {
            addCriterion("SITEARR >=", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrLessThan(String value) {
            addCriterion("SITEARR <", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrLessThanOrEqualTo(String value) {
            addCriterion("SITEARR <=", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrLike(String value) {
            addCriterion("SITEARR like", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrNotLike(String value) {
            addCriterion("SITEARR not like", value, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrIn(List<String> values) {
            addCriterion("SITEARR in", values, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrNotIn(List<String> values) {
            addCriterion("SITEARR not in", values, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrBetween(String value1, String value2) {
            addCriterion("SITEARR between", value1, value2, "sitearr");
            return (Criteria) this;
        }

        public Criteria andSitearrNotBetween(String value1, String value2) {
            addCriterion("SITEARR not between", value1, value2, "sitearr");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIsNull() {
            addCriterion("DELETEFLAG is null");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIsNotNull() {
            addCriterion("DELETEFLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteflagEqualTo(String value) {
            addCriterion("DELETEFLAG =", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotEqualTo(String value) {
            addCriterion("DELETEFLAG <>", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagGreaterThan(String value) {
            addCriterion("DELETEFLAG >", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagGreaterThanOrEqualTo(String value) {
            addCriterion("DELETEFLAG >=", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLessThan(String value) {
            addCriterion("DELETEFLAG <", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLessThanOrEqualTo(String value) {
            addCriterion("DELETEFLAG <=", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLike(String value) {
            addCriterion("DELETEFLAG like", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotLike(String value) {
            addCriterion("DELETEFLAG not like", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIn(List<String> values) {
            addCriterion("DELETEFLAG in", values, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotIn(List<String> values) {
            addCriterion("DELETEFLAG not in", values, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagBetween(String value1, String value2) {
            addCriterion("DELETEFLAG between", value1, value2, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotBetween(String value1, String value2) {
            addCriterion("DELETEFLAG not between", value1, value2, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andSiteexteaIsNull() {
            addCriterion("SITEEXTEA is null");
            return (Criteria) this;
        }

        public Criteria andSiteexteaIsNotNull() {
            addCriterion("SITEEXTEA is not null");
            return (Criteria) this;
        }

        public Criteria andSiteexteaEqualTo(String value) {
            addCriterion("SITEEXTEA =", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaNotEqualTo(String value) {
            addCriterion("SITEEXTEA <>", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaGreaterThan(String value) {
            addCriterion("SITEEXTEA >", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaGreaterThanOrEqualTo(String value) {
            addCriterion("SITEEXTEA >=", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaLessThan(String value) {
            addCriterion("SITEEXTEA <", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaLessThanOrEqualTo(String value) {
            addCriterion("SITEEXTEA <=", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaLike(String value) {
            addCriterion("SITEEXTEA like", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaNotLike(String value) {
            addCriterion("SITEEXTEA not like", value, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaIn(List<String> values) {
            addCriterion("SITEEXTEA in", values, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaNotIn(List<String> values) {
            addCriterion("SITEEXTEA not in", values, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaBetween(String value1, String value2) {
            addCriterion("SITEEXTEA between", value1, value2, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSiteexteaNotBetween(String value1, String value2) {
            addCriterion("SITEEXTEA not between", value1, value2, "siteextea");
            return (Criteria) this;
        }

        public Criteria andSitenameIsNull() {
            addCriterion("SITENAME is null");
            return (Criteria) this;
        }

        public Criteria andSitenameIsNotNull() {
            addCriterion("SITENAME is not null");
            return (Criteria) this;
        }

        public Criteria andSitenameEqualTo(String value) {
            addCriterion("SITENAME =", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotEqualTo(String value) {
            addCriterion("SITENAME <>", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameGreaterThan(String value) {
            addCriterion("SITENAME >", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameGreaterThanOrEqualTo(String value) {
            addCriterion("SITENAME >=", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameLessThan(String value) {
            addCriterion("SITENAME <", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameLessThanOrEqualTo(String value) {
            addCriterion("SITENAME <=", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameLike(String value) {
            addCriterion("SITENAME like", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotLike(String value) {
            addCriterion("SITENAME not like", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameIn(List<String> values) {
            addCriterion("SITENAME in", values, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotIn(List<String> values) {
            addCriterion("SITENAME not in", values, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameBetween(String value1, String value2) {
            addCriterion("SITENAME between", value1, value2, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotBetween(String value1, String value2) {
            addCriterion("SITENAME not between", value1, value2, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitetypeIsNull() {
            addCriterion("SITETYPE is null");
            return (Criteria) this;
        }

        public Criteria andSitetypeIsNotNull() {
            addCriterion("SITETYPE is not null");
            return (Criteria) this;
        }

        public Criteria andSitetypeEqualTo(String value) {
            addCriterion("SITETYPE =", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeNotEqualTo(String value) {
            addCriterion("SITETYPE <>", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeGreaterThan(String value) {
            addCriterion("SITETYPE >", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeGreaterThanOrEqualTo(String value) {
            addCriterion("SITETYPE >=", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeLessThan(String value) {
            addCriterion("SITETYPE <", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeLessThanOrEqualTo(String value) {
            addCriterion("SITETYPE <=", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeLike(String value) {
            addCriterion("SITETYPE like", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeNotLike(String value) {
            addCriterion("SITETYPE not like", value, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeIn(List<String> values) {
            addCriterion("SITETYPE in", values, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeNotIn(List<String> values) {
            addCriterion("SITETYPE not in", values, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeBetween(String value1, String value2) {
            addCriterion("SITETYPE between", value1, value2, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSitetypeNotBetween(String value1, String value2) {
            addCriterion("SITETYPE not between", value1, value2, "sitetype");
            return (Criteria) this;
        }

        public Criteria andSiteidIsNull() {
            addCriterion("SITEID is null");
            return (Criteria) this;
        }

        public Criteria andSiteidIsNotNull() {
            addCriterion("SITEID is not null");
            return (Criteria) this;
        }

        public Criteria andSiteidEqualTo(String value) {
            addCriterion("SITEID =", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotEqualTo(String value) {
            addCriterion("SITEID <>", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidGreaterThan(String value) {
            addCriterion("SITEID >", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidGreaterThanOrEqualTo(String value) {
            addCriterion("SITEID >=", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLessThan(String value) {
            addCriterion("SITEID <", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLessThanOrEqualTo(String value) {
            addCriterion("SITEID <=", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLike(String value) {
            addCriterion("SITEID like", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotLike(String value) {
            addCriterion("SITEID not like", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidIn(List<String> values) {
            addCriterion("SITEID in", values, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotIn(List<String> values) {
            addCriterion("SITEID not in", values, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidBetween(String value1, String value2) {
            addCriterion("SITEID between", value1, value2, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotBetween(String value1, String value2) {
            addCriterion("SITEID not between", value1, value2, "siteid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}